package com.tangyuan.ai.entity.model;


import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@TableName("ai_model")
@Data
public class AiModel implements Serializable {

    @NotNull(message="[]不能为空")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("chatGPT模型(展示名称)")
    private String model;

    @ApiModelProperty("模型参数名(请求名称)")
    private String modelName;

    @ApiModelProperty("模型参数名(请求名称)")
    private Integer sort;

    @ApiModelProperty("输入价格/美元")
    private BigDecimal inputPrice;

    @ApiModelProperty("输入token")
    private BigDecimal inputToken;

    @ApiModelProperty("输出价格/美元")
    private BigDecimal outputPrice;

    @ApiModelProperty("输出token")
    private BigDecimal outputToken;

    @ApiModelProperty("图片质量")
    private String imageQuality;

    @ApiModelProperty("图片格式")
    private String imageResolution;

    @ApiModelProperty("图片价格/张")
    private BigDecimal imagePrice;

    @ApiModelProperty("token单位")
    private String unit;

    @ApiModelProperty("是否开启")
    private Integer isEnabled;
}
